package test;

import java.util.LinkedList;

public class test2 {
    public static void main(String[] args) {
        System.out.println(mySum(1));
    }

    private static int mySum(int i) {
        if(i>10)
            return i;
        else
        {
            i++;
            return mySum(i);
        }
    }
}
